home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1996 #15
/
Monster Media Number 15 (Monster Media)(July 1996).ISO
/
proboard
/
doing112.zip
/
DOINGSDK.TXT
< prev
next >
Wrap
Text File
|
1996-04-25
|
3KB
|
87 lines
/ | _ | \______________
/ \ \
( o o ) / |
\ _| |_ / _(__ \______
┌ =(_/v\_)=__)_____(______\_______)─────────────────────────────────────────┐
│ SDK for making your PEXs & EXEs DOING Compatible (C)1996 Fe-line Software │
│ Written by Faye Pearson, Docs by Sarah Pearson (24th April 1996) │
└───────────────────────────────────────────────────────────────────────────┘
Doing comes with a C ".h" file to allow programmers to easily incorporate
DOING support into pexs and now EXEs.
All that needs to be done, is to #include "doing.h" after the
#include "pb_sdk.h" line.
This is so that Doing.h can detect you are compiling a PEX and include the
relevant code, otherwise it will think it is an EXE and you will get errors.
Whenever you want to set the DOING description to something else, just
use SetDesc().
---> If you have compiled any PEXs or EXEs with doing support, then a simple
recompile with the enclosed DOING.H will install the OS/2 Support.
---
bool SetDesc(char*Description);
Description: The string you wish DOING to display.
Returns: TRUE if the file was successfully updated.
FALSE if there was an error.
eg.
#include "pb_sdk.h"
#include "doing.h"
void main()
{
SetDesc("In Demo Part 1");
printf("\nPress ENTER to continue\n");
WaitKey();
SetDesc("In Demo Part 2");
printf("Press ENTER to finish\n");
SetDesc("");
}
---
YOU MUST REMEMBER:
Put a SetDesc("") in before your program ends otherwise it will continue to
display whatever you set until the next DOING compatible pex is used.
It is possible to display a DOING message when the node is idle, but you
must add "\xfe\xff" to the start of the doing string:
eg.
SetDesc("\xfe\xffI'm having a nap.");
This is so that ordinary doing messages do not remain when the user hangs up
or logs off.
All we ask if you do use DOING.H is that in every archive containing a DOING
compatible PEX or EXE you include DOING.TXT.
-----------------------------------------------------------------------------
This DOING SDK PEX Kit is supplied "as is" and we will not be held responsible
for any damage caused by this SDK. It works on our BBS ok, so that is the
only guarantee given :-)
--
Sarah & Faye, sysops@fe-line.demon.co.uk Home of Fe-line Software
http://www.win-uk.net/~fe-line ftp://ftp.win-uk.net/pub/users/fe-line
ProBoard *UK* Registration and Support Site ProBoard Beta Team
TGPBN Net Coordinators PSN *UK* Regional Coordinator
┌───────────────────────────────────────────────────────────────────────────┐
│ We can be reached on the following Node Numbers. │
│ (2:254/278 Fido / 311:21/0 PSN / 173:902/300 DqP-Net / 752:752/0 TGPBN) │
│ sysops@fe-line.demon.co.uk / Internet │
└───────────────────────────────────────────────────────────────────────────┘